PrestoPlayer\Support\Block C

Total Complexity 101
Dependencies 10
Dependents 1
Total lines 698
Lines of code 349
Logical lines of code 180
Comment lines 205
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
html()
B
39 16 61
_sanitizeAttibutes()
B
39 16 60
getPlayerStyles()
A
45 10 39
getFeedHtml()
A
50 10 29
getSchema()
A
49 8 29
getBranding()
S
63 6 9
getPlayerClasses()
S
57 4 16
getPreset()
S
59 4 14
getBlockTitle()
S
68 3 7
getAudioPreset()
S
65 3 8
getClasses()
S
73 3 4
outputVideoSchemaMarkup()
S
65 2 12
isHls()
S
73 2 4
iframeFallback()
S
72 2 5
getFallbackHTMLForUnauthorizeAccess()
S
64 2 10
__construct()
S
79 1 3
register()
S
79 1 3
additionalAttributes()
S
82 1 3
registerBlockType()
S
66 1 9
middleware()
S
82 1 3
sanitizeAttributes()
S
82 1 3
overrideAttributes()
S
79 1 3
getCSS()
S
67 1 9
getAttributes()
S
80 1 3
applyAttributeDefaults()
S
79 1 3